package com.loong.data.common.forehead.param;

import com.loong.common.validator.group.CommonValidate;
import lombok.*;

import javax.validation.constraints.NotBlank;

/**
 * @Description: 距离参数
 * @Author: 刘群
 * @Date: 2020/11/16 15:14
 */
@Builder
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class DistanceForeheadParam {
    /**
     * 纬度
     */
    @NotBlank(message = "纬度不能为空",groups = {CommonValidate.class})
    private String latitude;

    /**
     * 经度
     */
    @NotBlank(message = "经不能为空",groups = {CommonValidate.class})
    private String longitude;

    /**
     * 距离
     */
    private String distance;
}
